package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_house_bank_bar_dispatch", desc = "钱庄柜台门客派遣", autoSave = true, uploadCk = true)
public class LogHouseBankBarDispatch extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "门客id")
    private int patronsId;
    @FieldTypeAnnotation(desc = "柜台位置")
    private int barPos;
    @FieldTypeAnnotation(desc = "百业值")
    private long baiye;
    @FieldTypeAnnotation(desc = "信誉值")
    private long xinyu;
    @FieldTypeAnnotation(desc = "筹算值")
    private long chousuan;
    @FieldTypeAnnotation(desc = "财运值")
    private long caiyun;
    @FieldTypeAnnotation(desc = "派遣时间")
    private Date dispatchTime;
    @FieldTypeAnnotation(desc = "操作时间")
    private long operateTime;
    @FieldTypeAnnotation(desc = "剩余时间")
    private long surplusTime;

    public LogHouseBankBarDispatch(long userId, int patronsId, int barPos, long baiye, long xinyu, long chousuan, long caiyun, Date dispatchTime, long operateTime, long surplusTime) {
        this.userId = userId;
        this.patronsId = patronsId;
        this.barPos = barPos;
        this.baiye = baiye;
        this.xinyu = xinyu;
        this.chousuan = chousuan;
        this.caiyun = caiyun;
        this.dispatchTime = dispatchTime;
        this.operateTime = operateTime;
        this.surplusTime = surplusTime;
    }

    public long getUserId() {
        return userId;
    }

}
